#ifndef __PYLOADER_H__
#define __PYLOADER_H__
#include <Python.h>
#include <ime.h>
#define MAXHAND 63
typedef struct {
	PyObject* callable;
	int id;
} PyEventHandler;
typedef struct {
	PyObject *pModule, *pContextObject;
	PyEventHandler handler_list[MAXHAND];
} InputContext;
void InitPython(void* IC);   //initialize python environment
PyObject* ICGetCallale(void* data,const char* name); //From IC Get Callable
int CreateIMObject(void* ic);
int DestoryIMObject(void* ic);
#endif
